package com.taxshare.seller.view.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author YANG
 * @date 2021/3/25
 */
@Data
@ApiModel(value = "待开发票请求信息", description = "待开发票请求信息")
public class ToBeOpenInvoiceDTO {

    @ApiModelProperty("发票类型（004 专票 007 普票  026 电子发票）")
    private String invoiceType;

    @ApiModelProperty("开票类型（0 蓝票  1红票）")
    private String makeInvoiceType;

    @ApiModelProperty("预制日期起")
    private String createTimeStart;

    @ApiModelProperty("预制日期止")
    private String createTimeEnd;

    @ApiModelProperty("购方名称")
    private String purchaserName;

    @ApiModelProperty("购方税号")
    private String purchaserTaxNo;

    @ApiModelProperty("销方名称")
    private String sellerName;

    @ApiModelProperty("销方税号")
    private String sellerTaxNo;

    @ApiModelProperty("发票状态（0 正常  1作废 2 红冲）")
    private String invoiceState;

    @ApiModelProperty("数据来源（0 api 1 excel导入(结算单开票 ) 2 手工录入 3 发票同步 4业务单开票）")
    private String dataSource;

    @NotBlank(message = "SEL_006")
    @ApiModelProperty("发票请求流水号")
    private String serialNo;

    @ApiModelProperty("发票备注")
    private String remark;

}
